FROM python:3.6
MAINTAINER "zhouzx11<zhouzx11@meicloud.com>"

ENV PIPURL "https://pypi.tuna.tsinghua.edu.cn/simple"

WORKDIR /logs
WORKDIR /projects
COPY . .

RUN pip --no-cache-dir install  -i ${PIPURL} --upgrade pip && \
    pip --no-cache-dir install  -i ${PIPURL} -r requirements.txt

CMD ./run.sh
